<template>
  <div class="app-wrapper">
    <nav>
      <!-- <router-link to="/">Home</router-link> |
    <router-link to="/about">About</router-link> |
    <router-link to="/async">Async</router-link> | -->
      <router-link to="/tj">太极</router-link> |
      <router-link to="/wuxinghongqi">五星红旗</router-link> |
      <router-link to="/morse">摩尔斯电码</router-link> |
      <router-link to="/json">JSON解析器</router-link>|
      <router-link to="/html">HTML解析</router-link> |
      <router-link to="/script">影视脚本创作</router-link> |
      <router-link to="/audio">音频可视化</router-link> |
      <router-link to="/chart">图表</router-link>
    </nav>

    <div style="flex: 1;overflow: auto;position: relative;">
      <router-view />
    </div>
  </div>
</template>
<script setup>
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

.app-wrapper {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

nav {
  padding: 30px;
}

nav a {
  font-weight: bold;
  color: #2c3e50;
}

nav a.router-link-exact-active {
  color: #42b983;
}
</style>
